package com.cnebula.dataprocess.task.center.message;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TableMapping implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String dataPrimaryKey;
	String dataTableId;
	String dataTableName;
	String userTableName;
	String userPrimaryKey;
	String insert;
	String sql;

	List<FieldMapping> fieldMapping = new ArrayList<FieldMapping>();

	public String getDataPrimaryKey() {
		return dataPrimaryKey;
	}

	public void setDataPrimaryKey(String dataPrimaryKey) {
		this.dataPrimaryKey = dataPrimaryKey;
	}

	public String getDataTableId() {
		return dataTableId;
	}

	public void setDataTableId(String dataTableId) {
		this.dataTableId = dataTableId;
	}

	public String getDataTableName() {
		return dataTableName;
	}

	public void setDataTableName(String dataTableName) {
		this.dataTableName = dataTableName;
	}

	public String getUserTableName() {
		return userTableName;
	}

	public void setUserTableName(String userTableName) {
		this.userTableName = userTableName;
	}

	public String getInsert() {
		return insert;
	}

	public void setInsert(String insert) {
		this.insert = insert;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public List<FieldMapping> getFieldMapping() {
		return fieldMapping;
	}

	public void setFieldMapping(List<FieldMapping> fieldMapping) {
		this.fieldMapping = fieldMapping;
	}

	public String getUserPrimaryKey() {
		return userPrimaryKey;
	}

	public void setUserPrimaryKey(String userPrimaryKey) {
		this.userPrimaryKey = userPrimaryKey;
	}

}
